home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / June 96 / Re FW_CCommand DoIt < prev    next >
Encoding:
Internet Message Format  |  1996-12-03  |  1.1 KB  |  [TEXT/ttxt]

  1. Subject:     Re:FW_CCommand::DoIt
  2. Sent:        6/2/96 12:31 PM
  3. Received:    6/3/96 7:58 AM
  4. From:        Hutchings Software Development, hsd@earthlink.net
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. > Brad,
  9. > I agree this is confusing. I'm not sure whether the answer is to have
  10. > execute call SaveUndoState or to remove SaveUndoState from FW_CCommand.
  11. > Since SaveUndoState isn't necessary for command processing, and it is
  12. often
  13. > simpler to save undo state data in a DoIt implementation, I'm leaning
  14. > towards removing it.
  15. > gsf.
  16.  
  17. Before removing it (and ignoring my original point momentarily :-),
  18. consider how easy it for developer dweebs like me to figure out how to
  19. implement an undoable command given the FW_CCommand class definition. The
  20. methods serve as a great template for developers to follow. It took me only
  21. a few minutes to whip up a FW_CCommand descendant, just by filling in the
  22. appropriately named methods with the right code.
  23.  
  24. Brad
  25.  
  26.  
  27.  
  28.  
  29. Richard B. "Brad" Hutchings
  30. General Partner,
  31. Hutchings Software Development
  32.  
  33. hsd@earthlink.net
  34.